x86/ucode: log blob date also for AMD
authorJan Beulich <jbeulich@suse.com>
Thu, 1 Apr 2021 14:43:50 +0000 (16:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Apr 2021 14:43:50 +0000 (16:43 +0200)
commitf36179726847a08418a0b4f9c319b24ecb60fe3a
tree059b6bee364713193185801ee3e1e5a5cae47ac4
parent0dc28066e9f0339ad8f4aea233cc5912139c5f79
x86/ucode: log blob date also for AMD

Like Intel, AMD also records the date in their blobs. The field was
merely misnamed as "data_code" so far; this was perhaps meant to be
"date_code". Split it into individual fields, just like we did for Intel
some time ago, and extend the message logged after a successful update.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/microcode/amd.c